package com.zhentao.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 课程章节表
 * @TableName course_chapters
 */
@TableName(value ="course_chapters")
@Data
public class CourseChapters {
    /**
     * 章节ID
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 所属课程ID
     */
    private Long courseId;

    /**
     * 章节标题
     */
    private String chapterTitle;

    /**
     * 章节排序号
     */
    private Integer sortOrder;
}